package com.distribute.core.core.el;

import com.distribute.core.enums.NotifyFlushType;

import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

@Target(ElementType.METHOD)
@Retention(RetentionPolicy.RUNTIME)
public @interface DLCUpdateNotify {

    // 业务
    String modelPrefix();

    // 模块
    String[] model();

    // 刷新的数据key
    String key();

    // 刷新类型
    NotifyFlushType notifyFlushType() default NotifyFlushType.PART;

}